home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / edit / cse310.zip / CSE.DOC < prev    next >
Text File  |  1990-04-17  |  11KB  |  230 lines

  1.                             What is CSE?
  2.  
  3. CSE is a tiny editor for MSDOS.  It is designed to take the place of the line
  4. editor, EDLIN, that comes with DOS, by providing a full screen text editor
  5. that is both smaller then EDLIN and far more powerful.
  6.  
  7. CSE is:
  8. small - CSE is under 13K in size, small enough in fact to fit well on a ram
  9.         disk, where it can be found no matter what disk in your dirve on
  10.         floppy based systems!
  11.  
  12. efficient - CSE is written in 8088 structured assembler to run as fast as
  13.             possible
  14.  
  15. powerful - CSE uses all the memory available to DOS (generally 640K) and
  16.            can edit files up to this size or multiple files (up to 16) that
  17.            total a size less than this memory size
  18.            CSE can move, copy, blank, fill, or convert case on blocks of
  19.            data that it is editing
  20.            Keys used to command functions in CSE can be reprogrammed easily
  21.            by the user to make CSE emulate your favorite mainframe editor
  22.            Can handle record lengths up to 255 bytes!
  23.  
  24. versatile - CSE can be used to edit programs, data files, dBase command
  25.             procedures, .BAT files, or any ASCII data
  26.  
  27. BUT CSE IS NOT A WORD PROCESSOR!  CSE lacks formatting, word wrap,
  28. justification, printing, and other attributes of a Word Processor.  CSE
  29. is useful for editing any file that EDLIN would be useful for... if you
  30. want a Word Processor buy Wordstar!
  31.  
  32. MOST OF ALL - CSE IS PUBLIC DOMAIN
  33.  
  34. You may use CSE for any application that you would normally use EDLIN... and
  35. in fact CSE is free software while EDLIN is a product of Microsoft, which
  36. requires the purchase of DOS.
  37.  
  38.                         What do I need to run CSE?
  39.  
  40. CSE will run on any machine running MSDOS 2.0 or above.  It will work on
  41. a monochrome system in black and white, and a color system in color.
  42.  
  43.                              Configuring CSE
  44.  
  45. If CSE and the file PROFILE.CSE are in the current directory, then CSE can
  46. be invoked by typing the command CSE filename, where filename is the name
  47. of the file you want to edit.
  48.  
  49. However, you will probably want to put CSE in a subdirectory that is pathed
  50. such as C:\DOS or C:\BIN.  In fact, CSE can be placed and invoked from any
  51. directory that is listed in the PATH statement found in your AUTOEXEC.BAT.
  52. But in order for CSE to find it's key command profile and it's help file
  53. you must set the environment variable CSE equal to the fully qualified path
  54. to CSE and it's files.
  55.  
  56. If you placed CSE.COM, CSE.HLP, and PROFILE.CSE in your C:\DOS directory then
  57. you need to add the following statement to your AUTOEXEC.BAT:
  58.  
  59. SET CSE=C:\DOS
  60.  
  61. You will then be able to invoke 'CSE filename' from any prompt or drive on
  62. your system.
  63.  
  64. CSE may also be installed on a RAM drive.  This is particularly useful when
  65. running on a lap top or other machine without a hard disk.  Simply install
  66. the ram disk from your boot disk, and then from your autoexec.bat:
  67.  
  68. copy a:cse.com c:
  69. copy a:cse.hlp c:
  70. copy a:profile.cse c:
  71. PATH C:\
  72. SET CSE=c:\
  73.  
  74. This of course assumes that your ram disk installed as C: ... Using CSE in
  75. this fashion only requires a 16K ram disk and gives you instant access to
  76. CSE at any time!
  77.  
  78.                                 Using CSE
  79.  
  80. As mentioned before typing 'CSE filename' will read the file 'filename' into
  81. CSE and display that file in the edit window.  Typing 'CSE' without a filename
  82. will create an unnamed file and place it in the edit window.  From then on
  83. the file may be edicse on the screen.
  84.  
  85. Here are the components of the CSE screen:
  86.  
  87. ┌───────────────────────────────────────────────────────────────────────────┐
  88. │                                                                           │
  89. │                                                                           │
  90. │                                                                           │
  91. │                                                                           │
  92. │                                                                           │
  93. │                                                                           │
  94. │                                EDIT WINDOW                                │
  95. │                                                                           │
  96. │                                                                           │
  97. │                                                                           │
  98. │                                                                           │
  99. │                                                                           │
  100. │                                                                           │
  101. │                                                                           │
  102. ├───────────────────────────────────────────────────────────────────────────┤
  103. │                                COMMAND AREA                               │
  104. ├───────────────────────────────────────────────────────────────────────────┤
  105. │                                STATUS LINE                                │
  106. │filename            │ line # │ Column # │ Insert/Replace mode  │ Bytes free│
  107. ├───────────────────────────────────────────────────────────────────────────┤
  108. │                                MESSAGE LINE                               │
  109. └───────────────────────────────────────────────────────────────────────────┘
  110.  
  111. CSE begins with the file specified (or the new blank file if none was specified
  112. in the edit window and the cursor in the COMMAND AREA.  A blinking cursor in
  113. the edit window tells you where the edit cursor is located.  You may toggle
  114. back and forth from the EDIT WINDOW to the COMMAND AREA by hitting the ESC key.
  115. While in the COMMAND AREA there are several command you may enter:
  116.  
  117. C or CHANGE /search/replace/
  118.  
  119. search and replace are strings encased in slashes (the delimiter) for CSE to
  120. search and replace!  You will be prompcse to confirm any change before it is
  121. performed by hitting the CONFIRM key (F10)
  122.  
  123. DEFINE keyname = [function] 'literal'
  124.  
  125. This can be used to change the definition of any key.  A document listing the
  126. names of all keys and the name and function of all commands will be sent to
  127. any registered user who requests it!
  128.  
  129. This command is typically used in the PROFILE.CSE file to reconfigure keys
  130.  
  131. DOS
  132.  
  133. Loads and Executes a copy of COMMAND.COM, allowing you to break out of
  134. CSE temporarily to run another program.  You may return to CSE by typing
  135. EXIT at any DOS prompt.
  136.  
  137. DIR
  138.  
  139. Displays a file named DIR.DIR that contains a copy of the default directory.
  140.  
  141. E or EDIT filename
  142.  
  143. This will clear the screen and load the specified document into the editor.
  144. Multiple files can be switched into and out of the EDIT WINDOW with the
  145. SWITCH FILES key.
  146.  
  147. L or LOCATE /search/
  148.  
  149. Works similar to CHANGE except no replace string is needed and no change
  150. if performed... but the edit cursor is moved to the location of the found
  151. string.
  152.  
  153. MACRO filename - used to define keys
  154.  
  155. Used to load and execute a macro file containing commands or settings...
  156. The creation of a macro file is covered in the document ADVANCED.DOC which
  157. is available only to registered users.
  158.  
  159. NAME filename - used to change name
  160.  
  161. Changes the name of a file so that when it is saved it has a different name!
  162. Required if you invoked CSE without a file name and want to save what you
  163. typed!
  164.  
  165. SET setting = 'litteral'
  166.  
  167. Various options such as color, tab settings, and save options may be set
  168. with the SET command.  This usually occurs in the PROFILE.CSE macro or in
  169. a macro invoked with the macro command.  This command and it's use is also
  170. discussed in ADVANCED.DOC which is available only to registered users!
  171.  
  172. The following function keys and command keys have been set by the macro file,
  173. PROFILE.CSE, which loads and executes everytime CSE is run:
  174.  
  175.                    A+ = ALT +                 C+ = CTRL+
  176.  
  177.    ╔════╗ ╔════╗  ╔════╗  ╔════╗  ╔════╗  ╔════╗  ╔════╗  ╔════╗  ╔════╗  ╔════╗
  178.    ║ F1 ║ ║ F2 ║  ║ F3 ║  ║ F4 ║  ║ F5 ║  ║ F6 ║  ║ F7 ║  ║ F8 ║  ║ F9 ║  ║ F10║
  179.    ╚════╝ ╚════╝  ╚════╝  ╚════╝  ╚════╝  ╚════╝